﻿using System.Linq;

namespace BoneSystem.Business.Entity.CadastrosOficiais.Ncm
{
    public class NcmRepository : RepositoryBase<Ncm>
    {
        public static Ncm GetByCodigo(string ncm)
        {
            return GetQueryOver().Where(n => n.Codigo == ncm ).List().SingleOrDefault();
        }

    }
}